PermutationCycles
PermutationCycles[perm] gives a disjoint cycle representation of permutation perm.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.
PermutationCycles[perm] gives a disjoint cycle representation of permutation perm.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.